package Project.InterfacePolymorphic;
/*
鼠标是一个USB设备
实现USB接口，实现USB接口的抽象方法

*/
public class Mouse implements USB{
    @Override
    public void open() {
        System.out.println("打开鼠标");

    }

    @Override
    public void close() {
        System.out.println("关闭鼠标");

    }

    public void click(){
        System.out.println("鼠标点击");
    }
}
